﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace BEELab
{
    public partial class EditFunctionExecution : System.Web.UI.Page
    {
        /// <summary>
        /// Occures on every page load (first time or Post Back).
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["ID"] != null)
            {
                Response.Redirect("EditStage.aspx?ID=" + BEELab.Logic.ProgramManagement.StageManagement.StageManagement.GetIDByName(int.Parse(Request.QueryString["ID"].ToString()), "Execution"));
            }
        }
    }
}